package com.chrisgrimble.iftu.web;

import com.sun.net.httpserver.HttpHandler;

public class WebServerMapping {
    private final String path;
    private final HttpHandler responseHandler;

    public WebServerMapping(String path, HttpHandler responseHandler) {
        this.path = path;
        this.responseHandler = responseHandler;
    }

    public String getPath() {
        return path;
    }

    public HttpHandler getResponseHandler() {
        return responseHandler;
    }
}
